package com.atguigu.blog.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "Category")
public class Category {
    @Schema(description = "分类id")
    private Long cid;
    @Schema(description = "分类名称")
    private String cname; //分类名称
    @Schema(description = "发布时间")
    private Date createTime;
    @Schema(description = "修改时间")
    private Date updateTime;
}